/*
bsp.h
offer bsp layer headfile  include
designed by lunanting

----------------------
2020-03-20 17:13:30
creat file
---------------------

*/
#ifndef __BSP_H
#define __BSP_H

/**********************include********************/
#include "base_type.h"
#include "cli_cmd.h"
#include "io_config.h"
#include "modbus_485.h"
#include "xp_time.h"
#include "xp_uart.h"
#include "xp_wdg.h"
#include "tool.h"
#include "xp_adc.h"
#include "xp_can.h"

#include "can_open.h"
#include "canbus.h"

#define ABS(n) (n > 0 ? (n) : (-n))
#define LIMIT(n, min, max) (n > max ? (max) : (n < min ? (min) : (n)))


typedef struct{
    uint8_t     boardId;
    uint16_t    pinId;
}Type_GPIO_Def;

#endif
//end of the file
